/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tubes5progin.client;

import java.io.File;
import tools.constants;
import tools.debug;
import tubes5progin.client.clientSocketHandler.clientHandler;

/**
 *
 * @author Rezha
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        try {
            // TODO code application logic here
            //clientHandler client = new clientHandler(constants.LOGIN_MODE, "fatardhi", "fatardhi", new File("D:\\tes"), "localhost", 9998);
            clientHandler client = new clientHandler(constants.SYNC_MODE, "anis", "anis", new File("D:\\tes"), "localhost", constants.port);
            client.startCommunication();
        } catch (Exception ex) {
            debug.debugCode(ex.getMessage());
        }
        
    }

}
